package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenxuebin
 * @since 2020-07-04
 */
@TableName("t_store_ext")
public class StoreExt extends Model<StoreExt> {

    private static final long serialVersionUID = 1L;

	@TableId(value="sid", type= IdType.INPUT)
	private Long sid;

	private BigDecimal cika;
	private BigDecimal huiyuan;
	private BigDecimal laodong1;
	private BigDecimal laodong2;
	private BigDecimal changpin;

	private Long mpid;

	public Long getSid() {
		return sid;
	}

	public void setSid(Long sid) {
		this.sid = sid;
	}

	public BigDecimal getCika() {
		return cika;
	}

	public void setCika(BigDecimal cika) {
		this.cika = cika;
	}

	public BigDecimal getHuiyuan() {
		return huiyuan;
	}

	public void setHuiyuan(BigDecimal huiyuan) {
		this.huiyuan = huiyuan;
	}

	public BigDecimal getLaodong1() {
		return laodong1;
	}

	public void setLaodong1(BigDecimal laodong1) {
		this.laodong1 = laodong1;
	}

	public BigDecimal getLaodong2() {
		return laodong2;
	}

	public void setLaodong2(BigDecimal laodong2) {
		this.laodong2 = laodong2;
	}

	public BigDecimal getChangpin() {
		return changpin;
	}

	public void setChangpin(BigDecimal changpin) {
		this.changpin = changpin;
	}

	public Long getMpid() {
		return mpid;
	}

	public void setMpid(Long mpid) {
		this.mpid = mpid;
	}

	@Override
	protected Serializable pkVal() {
		return this.sid;
	}

	@Override
	public String toString() {
		return "StoreExt{" +
				"sid=" + sid +
				", cika=" + cika +
				", huiyuan=" + huiyuan +
				", laodong1=" + laodong1 +
				", laodong2=" + laodong2 +
				", changpin=" + changpin +
				", mpid=" + mpid +
				'}';
	}
}
